		<?php $this->jQuery()->onLoadCaptureStart(); ?>
				
				jQuery('#ongoing').click(function() 
				{ 
					$.post('lockongoing');
					alert("Forecast locked");
				});
				
				jQuery('#midquarter').click(function() 
				{ 
					$.post('lockmidquarter')
					alert("Forecast locked");
				});
	<?php $this->jQuery()->onLoadCaptureEnd(); ?>

<div id="content">
	<h1>
		<?php echo $this->pageTitle; ?>
	</h1>
	<div id="normaltable">
		<table>
			<thead>
				<tr>
					<th>Sellthrough Forecast</th>
					<th>Last Lock</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>Ongoing Sellthrough Forecast</td><td><?php echo $this->time['tbl_sellthroughForecastOngoing']; ?></td><td><a href="#" id="ongoing">Lock</a></td>
				</tr>
				<tr>
					<td>Midquarter Sellthrough Forecast</td><td><?php echo $this->time['tbl_sellthroughForecastMidquarter']; ?></td><td><a href="#" id="midquarter">Lock</a></td>
				</tr>
			</tbody>
		</table>
	</div>
</div>
